﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SISGEZATBZVisual.BusinessEntities;
using SISGEZATBZVisual.Repository;

namespace GenerateDb
{
    class Program
    {
        static void Main(string[] args)
        {
            var nivel = new Nivel()
            {
                NombreNivel = "Primario",
                DescripcionNivel = "ningun comentario",
                
                
            };


            Console.WriteLine("Generando DB");

            var context = new SISGEZATBZVisualContext();
            context.Nivels.Add(nivel);
            context.SaveChanges();

            Console.WriteLine("Base de datos Creada.. OK!!!");
            Console.ReadLine();
        }
    }
}
